package com.zhitongyun.devlop.db.bean;

import com.google.gson.annotations.SerializedName;

import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey;

public class AppCategoryEntity extends RealmObject {

    /**
     * 分类的id
     */
    @PrimaryKey
    @SerializedName("appCategoryId")
    private int appCategoryId;
    /**
     * 分类名称
     */
    @SerializedName("appCategoryName")
    private String appCategoryName;

    /**
     * 是否是大分类 eg:热门 最新 推荐等等
     */
    @SerializedName("appBigCategory")
    private boolean appBigCategory;

    /**
     * 最后修改的时间
     */
    @SerializedName("appCategoryUpTime")
    private String appCategoryUpTime;

    public int getAppCategoryId() {
        return appCategoryId;
    }

    public void setAppCategoryId(int appCategoryId) {
        this.appCategoryId = appCategoryId;
    }

    public String getAppCategoryName() {
        return appCategoryName;
    }

    public void setAppCategoryName(String appCategoryName) {
        this.appCategoryName = appCategoryName;
    }

    public boolean isAppBigCategory() {
        return appBigCategory;
    }

    public void setAppBigCategory(boolean appBigCategory) {
        this.appBigCategory = appBigCategory;
    }

    public void setAppCategoryUpTime(String appCategoryUpTime) {
        this.appCategoryUpTime = appCategoryUpTime;
    }

    public String getAppCategoryUpTime() {
        return appCategoryUpTime;
    }

    @Override
    public String toString() {
        return "AppCategoryEntity{" +
                "appCategoryId=" + appCategoryId +
                ", appCategoryName='" + appCategoryName + '\'' +
                ", appBigCategory=" + appBigCategory +
                ", appCategoryUpTime=" + appCategoryUpTime +
                '}';
    }
}